<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      th:with="
      version=${#dates.createNow().getTime()},
      prourl=${#request.getScheme() + '://' + #request.getServerName() + ':' + #request.getServerPort() + #request.getContextPath() + '/'},
      proname=${#request.getContextPath()}">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <base href="<%=basePath%>">
    <div th:replace="pub/head_meta"/>
    <div th:replace="pub/head_link"/>
    <div th:replace="pub/head_script"/>
    <!--=====================CSS_Link===========================-->
<body>
<div class="container">
    <h2 style="margin: 30px auto;">注册</h2>
    <form id="register_form" action="" method="post" autocomplete="off">
        <div class="form-group">
            <label for="email">邮箱：</label>
            <input type="email" name="userEmail" id="email" value="" placeholder="邮箱" class="form-control reg_email">
            <span class="tip email_hint"></span>
        </div>
        <div class="form-group">
            <label for="reg_user">用户名：</label>
            <input type="text" name="userName" class="form-control reg_user" id="reg_user" placeholder="4-12位用户名（数字或字母）">
            <span class="tip user_hint"></span>
        </div>
        <div class="form-group">
            <label for="pwd">密码：</label>
            <input type="password" name="userPasswd" class="form-control reg_password" id="pwd" placeholder="6-16位密码（数字或字母）">
            <span class="tip password_hint"></span>
        </div>
        <div class="form-group">
            <label for="reg_confirm">确认密码：</label>
            <input type="password" name="" class="form-control reg_confirm" id="reg_confirm" placeholder="确认密码">
            <span class="tip confirm_hint"></span>
        </div>
        <button type="button" class="btn btn-primary red_button">注册</button>
        <a href="javascript:;" class="btn" onclick="history.back();">返回</a>
    </form>
</div>
<script type="text/javascript" th:src="@{/static/plugins/register/js/script.js(v=${version})}"></script>
<script type="text/javascript">
    window.register_path = "/register.html";
    window.head_page_path = "/";
</script>
</body>
</html>